home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / alib / csup / dos_support / fprintf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-19  |  466 b   |  31 lines

  1.  
  2. /* AmigaDOS tag call */
  3.  
  4. #include <exec/types.h>
  5. #include <stdio.h>
  6. #include <stdarg.h>
  7. #include <utility/tagitem.h>
  8. #include <clib/dos_protos.h>
  9.  
  10. #ifndef HYPER
  11. #define HYPER
  12. #endif
  13.  
  14. typedef struct TagItem     TagItem;
  15.  
  16. extern LONG VFPrintf( BPTR fh, STRPTR format, LONG *argarray );
  17.  
  18. LONG
  19. HYPER ## LONG FPrintf( BPTR fh, STRPTR format, ... )
  20. {
  21.     va_list va;
  22.     int n;
  23.  
  24.     va_start(va, format);
  25.     n = VFPrintf(fh, format, va);
  26.     va_end(va);
  27.     return(n);
  28. }
  29.  
  30.  
  31.